# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_pkgname=geopy
pkgname="py3-$_pkgname"
pkgver=2.2.0
pkgrel=0
pkgdesc="Geocoding library"
url="https://geopy.readthedocs.io/"
arch="noarch"
license="MIT"
depends="
	py3-geographiclib
"
makedepends="py3-setuptools_scm"
checkdepends="
	py3-async_generator
	py3-pytest
	py3-pytest-aiohttp
	py3-sphinx
"
source="https://files.pythonhosted.org/packages/source/g/geopy/geopy-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root "$pkgdir"
}

sha512sums="
26f33680d23445aecfa9cb1546007c74332adbf6d7510575941ef948391b8530c45eba28088d9ae781a8af63de8fa57f6f20e46be9d87a9621a242df83a51ff9  geopy-2.2.0.tar.gz
"
